// 直接获取data.json
// let data = require("../data/data.json");
let News = require("../common/newmodel.js");
module.exports = {
    getdata:async function(){
       let data = await News.find().skip(0).limit(5);
       return data;
    }
}